package com.common.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Programme implements Serializable {
    private String id;

    private String name;

    private String routId;

    private BigDecimal price;

    private String priceExplain;

    private String isprivate;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date startTime;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date endTime;

    private String image;

    private String description;

    private String notice;

    private String createUserId;

    private Date createTime;

    private String updateUserId;


    private Date updateTime;

    private Integer status;

    private Integer deleted;

    private Date version;

    private Integer stock;
}
